package com.ffcs.crmd.tsp.admin.service;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.JobDetailParam;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface IJobDetailParamService{
    
    /**
     * 功能说明:
     * 
     * @param jobDetailParam
     * @throws TspException
     */
    void delete(JobDetailParam jobDetailParam) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws TspException
     */
    JobDetailParam get(JobDetailParam jobDetailParam) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param jobDetailId
     * @param mkey
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException 
     */
    PageInfo<JobDetailParam> query(JobDetailParam jobDetailParam, int pageNumber, int pageSize) throws TspException;
    
    /**
     * 功能说明:
     * 
     * @param jobDetailParam
     * @throws TspException
     */
    void save(JobDetailParam jobDetailParam) throws TspException;

    /**
     * 功能说明:
     * 
     * @param jobDetailParam
     * @throws TspException
     */
    void update(JobDetailParam jobDetailParam) throws TspException;
    
}
